using System;
using JSC.Portal.Entities;
using JSC.Portal.Entities.Interfaces;

namespace JSC.Portal.Web.App.Modules.Articles.Entities
{
	/// <summary>
	/// Summary description for Comment.
	/// </summary>
	public class Comment : BaseEntity, ITracked
	{
		#region properties

		/// <summary>
		/// Property Article (Article)
		/// </summary>
		public Article Article
		{
            get;
            set;
		}

		/// <summary>
		/// Property Name (string)
		/// </summary>
		public string Name
		{
            get;
            set;
        }

		/// <summary>
		/// Property Website (string)
		/// </summary>
		public string Website
		{
            get;
            set;
        }

		/// <summary>
		/// Property CommentText (string)
		/// </summary>
		public string CommentText
		{
            get;
            set;
        }

		/// <summary>
		/// Property UserIp (string)
		/// </summary>
		public string UserIp
		{
            get;
            set;
        }

		#endregion

        #region ITracked Members

        public DateTime CreatedOn
        {
            get;
            set;
        }

        public DateTime? ModifiedOn
        {
            get;
            set;
        }

        public PortalUser CreatedByUser
        {
            get;
            set;
        }

        public PortalUser ModifiedByUser
        {
            get;
            set;
        }

        #endregion
    }
}
